Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughFour new tournament maps (Tourney1–Tourney4) are added with asset info JSONs, runtime manifests, registry entries in the map generator, localization keys, and enum/category registrations in the game type system. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip You can disable poems in the walkthrough.Disable the |
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
startup.sh (1)
88-92: Redundant if/else block after timeout removal.Both branches now run the same command. This if/else serves no purpose and can be simplified:
-if [ "$DOMAIN" = openfront.dev ] && [ "$SUBDOMAIN" != main ]; then - exec /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf -else - exec /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf -fi +exec /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@startup.sh` around lines 88 - 92, The if/else block that checks DOMAIN and SUBDOMAIN is redundant because both branches run the same supervisord exec command; remove the entire if/else and replace it with a single line that executes /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf (keep the existing exec invocation and environment variables DOMAIN and SUBDOMAIN unchanged elsewhere), ensuring no behavioral change other than eliminating the pointless conditional.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@startup.sh`:
- Around line 88-92: The change in startup.sh touching the DOMAIN/SUBDOMAIN
conditional (the if block using DOMAIN and SUBDOMAIN) appears to be an unrelated
infrastructure tweak (removal of the 18-hour timeout for preview deployments);
revert this modification in startup.sh and remove any changes that alter preview
deployment timeouts or supervisord logic from this "Tournament Maps" PR, then
create a separate PR containing only the infrastructure change; ensure the
tournament maps PR only includes map-related files and that the separate PR
references startup.sh and the DOMAIN/SUBDOMAIN conditional when restoring or
modifying preview timeout behavior.
---
Nitpick comments:
In `@startup.sh`:
- Around line 88-92: The if/else block that checks DOMAIN and SUBDOMAIN is
redundant because both branches run the same supervisord exec command; remove
the entire if/else and replace it with a single line that executes
/usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf (keep the
existing exec invocation and environment variables DOMAIN and SUBDOMAIN
unchanged elsewhere), ensuring no behavioral change other than eliminating the
pointless conditional.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 4046c6e9-8db6-411c-9764-79fe37271243
⛔ Files ignored due to path filters (16)
map-generator/assets/maps/tourney1/image.pngis excluded by!**/*.pngmap-generator/assets/maps/tourney2/image.pngis excluded by!**/*.pngmap-generator/assets/maps/tourney3/image.pngis excluded by!**/*.pngmap-generator/assets/maps/tourney4/image.pngis excluded by!**/*.pngresources/maps/tourney1/map.binis excluded by!**/*.binresources/maps/tourney1/map16x.binis excluded by!**/*.binresources/maps/tourney1/map4x.binis excluded by!**/*.binresources/maps/tourney2/map.binis excluded by!**/*.binresources/maps/tourney2/map16x.binis excluded by!**/*.binresources/maps/tourney2/map4x.binis excluded by!**/*.binresources/maps/tourney3/map.binis excluded by!**/*.binresources/maps/tourney3/map16x.binis excluded by!**/*.binresources/maps/tourney3/map4x.binis excluded by!**/*.binresources/maps/tourney4/map.binis excluded by!**/*.binresources/maps/tourney4/map16x.binis excluded by!**/*.binresources/maps/tourney4/map4x.binis excluded by!**/*.bin
📒 Files selected for processing (16)
map-generator/assets/maps/tourney1/info.jsonmap-generator/assets/maps/tourney2/info.jsonmap-generator/assets/maps/tourney3/info.jsonmap-generator/assets/maps/tourney4/info.jsonmap-generator/main.goresources/lang/en.jsonresources/maps/tourney1/manifest.jsonresources/maps/tourney1/thumbnail.webpresources/maps/tourney2/manifest.jsonresources/maps/tourney2/thumbnail.webpresources/maps/tourney3/manifest.jsonresources/maps/tourney3/thumbnail.webpresources/maps/tourney4/manifest.jsonresources/maps/tourney4/thumbnail.webpsrc/core/game/Game.tsstartup.sh

Description:
Introduces 4 new private match maps for the OFM tournament in May. Includes 2, 3, 4, and 8 player maps. Playtested, and include as many default nations as the map expects players, named after compass points. Give it a try at https://tourney-maps.openfront.dev/
The base images were created from scratch based on prototype designs, and they were converted from vector versions I made. I haven't decided on what the names should be for the maps themselves, so for now they're just
Tourney Map 1,Tourney Map 2, etc. Ideas welcome.Please complete the following:
Please put your Discord username so you can be contacted if a bug or regression is found:
bijx